package com.yf.document.modules.flowable.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yf.document.modules.flowable.model.dto.AcdeModelDTO;
import com.yf.document.modules.flowable.model.entity.AcdeModel;
import org.apache.ibatis.annotations.Param;

/**
* <p>
* Mapper
* </p>
*
* @author Panjp
* @since 2022-11-04 10:34
*/
public interface AcdeModelMapper extends BaseMapper<AcdeModel> {
    AcdeModelDTO getById(String id);

    /**
     * 分页查询
     * @param page
     * @param query
     * @return
     */
    IPage<AcdeModelDTO> paging(Page page, @Param("query") AcdeModelDTO query);
}
